package entity;

/**
 * Created by cdxuhongya on 2016/9/13.
 */
public class Medicine {

    private String name;
    private String function;
    private Integer id;

    public Medicine(Integer id,String name, String function) {
        this.name = name;
        this.function = function;
        this.id = id;
    }

    public Medicine() {


    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Medicine{" +
                "name='" + name + '\'' +
                ", function='" + function + '\'' +
                ", id=" + id +
                '}';
    }
}
